<%--
 *  File:    DataCleanPeriodEdit.jsp
 *  @Author: Jamesli
 *  Date:    2010/06/21
 *
 *  Copyright (C) 2000 - 2010 Oval Technologies, Inc.
 *  All rights reserved. 
 *
 *  This software is the confidential and proprietary information of Oval 
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval.
--%>

<%@ include file="/inc/SessionTimeout.inc"%>
<%@ page language="java" %>     
<%@ page import="java.util.*" %>
<%@ page import="org.apache.log4j.Category" %>
<%@ page contentType = "text/html;charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/PageFlow.tld" prefix="PageFlow" %>
<%@ taglib uri="/WEB-INF/custom.tld" prefix="custom" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

<% //--------------------------------------  setting logger --%>
<%
  	Category cat = Category.getInstance("jsp.DataCleanPeriodEdit"); 
%>
<%
  //init param
  String strModuleName = "CM";
  String privilegeCode = "E0131";
  String contextPath = request.getContextPath();
%>
<% //--------------------------------------  include files list --%>
<%@ include file="/inc/Security.inc" %>
<%@ include file="/inc/PageDefault.inc" %>
<%@ include file="/inc/LocationDefault.inc" %>

<html>
<head>
<title>DataCleanPeriodEdit</title>
<PageFlow:CheckPageFlow pageName="p_datacleanperiodedit"/>
<link rel="stylesheet" href="<%=contextPath %>/css/<%= strLanguageCode %>/main.css" type="text/css">
<script language="JavaScript" src="<%=contextPath %>/css/<%= strLanguageCode %>/script.js"></script>
<script language="JavaScript" src="<%=contextPath %>/js/ScriptLib.js"></script>
<script type="text/javascript">
function page_submit(){
  if(!checkForm(cform))return;
  formatCheckBox(cform);
  cform.target = "_parent";
  document.cform.actionname.value = "submit";
  isRunning = true;
  document.cform.submit();
}
</script>
</head>

<body>

<form name="cform" action="<%=contextPath %>/Dispatcher"  method="post">
<input type="hidden" name="pagename" value="p_datacleanperiodedit">
<input type="hidden" name="actionname">
<custom:hidden property="datacleanperiodid" name="periodinfo"/>
<table width="100%">
	<tr><td>
		<img src="<%=contextPath %>/images/<%= strLanguageCode %>/quote.gif" />
		<%= label.getLabelName("L_BaseInfo") + label.getLabelName("L_Colon") %>
	</td></tr>
	<tr><td>
		<label style="color:red"><%= label.getLabelName("L_PeriodName") + label.getLabelName("L_Colon") %></label>
		<custom:text property="periodname" name="periodinfo" command="notnull" label="L_PeriodName"/>
		<label><%= label.getLabelName("L_IsPeriodConsecutive") + label.getLabelName("L_Colon") %></label>
		<custom:checkbox property="iscontinuum" name="periodinfo" styleClass="checkbox" checkFlag="Y/N"/>
	</td></tr>
	<tr><td class="td_center">
		<input type="button" class="button1" value="<%= label.getLabelName("L_Finish") %>" onclick="page_submit()"/>
	</td></tr>
</table>
</form>
</body>
</html>